<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/init.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jsp:include page="/WEB-INF/jsp/common/common.jsp" />
<script type="text/javascript">
	function query() {
		$("#form1").submit();
	}
	function config(verifyconfig_id, flag) {
		$("input[name='verifyconfig_id']").val(verifyconfig_id);
		$("input[name='flag']").val(flag);
		var url = "${path}/ix/config/verify/config.htm";
		$("#form1").attr("action", url);
		$("#form1").submit();
	}
</script>
</head>
<body>
	<jsp:include page="/WEB-INF/jsp_lib/tip.jsp" />
	<div>
		<form action="${path}/ix/config/verify/list.htm" id="form1"
			method="post">
			<input name="verifyconfig_id" type="hidden" />
			<input name="flag" type="hidden" />
			<h2>
				<div>换人复核开关配置</div>
			</h2>

			<table width="100%" class="listlindex">
				<tr>
					<th>模块名称</th>

					<th>当前状态</th>

				</tr>
				<c:if test="${fn:length(list)==0}">
					<tr>
						<td colspan="2"><div class="tip_div">暂无记录.</div></td>
					</tr>
				</c:if>
				<c:forEach items="${list}" var="v">
					<c:if test="${v.name!='领用不符复核' }">
						<tr>
							<td>${v.name}</td>
							<td><c:if test="${v.flag=='关闭' }">
									<a title="点击开启复核"
										href="javascript:config('${v._id}' ,' ${v.flag}' ) ;">【${v.flag}】</a>
								</c:if> <!--  <a title="${v.flag}"     href="javascript:config('${v._id}' ,' ${v.flag}' ) ;">${v.flag}</a>-->
								<c:if test="${v.flag!='关闭' }">
									<a title="点击关闭复核"
										href="javascript:config('${v._id}' ,' ${v.flag}' ) ;">【${v.flag}】</a>
								</c:if></td>
						</tr>
					</c:if>
				</c:forEach>
			</table>
			<div id="response"></div>
			<div class="options">


				<div class="clear"></div>
			</div>
		</form>

	</div>
</body>
</html>
